package com.neuedu.hcp.entity;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author 第八组
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("recovery_register")
public class RecoveryRegister implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("patient_id")
    private Integer patientId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate createtime;

    private String workcondition;

    private String job;

    private String hobit;

}
